package sanrenxing.dayEnd.backRepertoryTotal.domain;

import java.io.Serializable;
import java.util.Date;

public class CashCountExtrat implements Serializable {
    //银行名称
    private String bankName;
    //卡号
    private String bankCard;
    //账户余额
    private Double money;
    //年利率
    private Double accId;
    //存款类型
    private Integer businTime;
    //业务日期
    private Date dates;
    //计息天数
    private int intePer;
    //日期
    private Double MoneyInterest;
    //统计状态
    private int states;

    public CashCountExtrat() {
    }


    public CashCountExtrat(String bankName, String bankCard, Double money, Double accId, Integer businTime, Date dates, int intePer, Double moneyInterest, int states) {
        this.bankName = bankName;
        this.bankCard = bankCard;
        this.money = money;
        this.accId = accId;
        this.businTime = businTime;
        this.dates = dates;
        this.intePer = intePer;
        MoneyInterest = moneyInterest;
        this.states = states;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankCard() {
        return bankCard;
    }

    public void setBankCard(String bankCard) {
        this.bankCard = bankCard;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Double getAccId() {
        return accId;
    }

    public void setAccId(Double accId) {
        this.accId = accId;
    }

    public Integer getBusinTime() {
        return businTime;
    }

    public void setBusinTime(Integer businTime) {
        this.businTime = businTime;
    }

    public Date getDate() {
        return dates;
    }

    public void setDate(Date dates) {
        this.dates = dates;
    }

    public int getIntePer() {
        return intePer;
    }

    public void setIntePer(int intePer) {
        this.intePer = intePer;
    }

    public Double getMoneyInterest() {
        return MoneyInterest;
    }

    public void setMoneyInterest(Double moneyInterest) {

        MoneyInterest = (money*accId)/intePer;
    }

    public Date getDates() {
        return dates;
    }

    public void setDates(Date dates) {
        this.dates = dates;
    }

    public int getStates() {
        return states;
    }

    public void setStates(int states) {
        this.states = states;
    }
}
